<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                <title></title>
                <link href="__PUBLIC__/css/select.css" rel="stylesheet" type="text/css" />
                <link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
                <script type="text/javascript" src="__PUBLIC__/js/jquery-1.9.0.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/jquery.idTabs.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/select-ui.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/editor/kindeditor.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/layer/layer.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/laydate/laydate.js"></script>
                <script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/ueditor/ueditor.config.js"></script>
                <script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/ueditor/ueditor.all.min.js"></script>
                <script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/ueditor/lang/zh-cn/zh-cn.js"></script>
                <script type="text/javascript">
                        $("#usual1 ul").idTabs();
                        $('.tablelist tbody tr:odd').addClass('odd');
                        $(".select1").uedSelect({
                                width: 345
                        });
                        $(".select2").uedSelect({
                                width: 100
                        });
                        $(".select3").uedSelect({
                                width: 200
                        });

                        $(function() {
                                var ue = UE.getEditor('editor');

                                var mydate = new Date();
                                var t = mydate.toLocaleString();

                                //$("input[name='add_time']").val(formatDate("y-m-d h:i:s",t));
                        });

                </script>
        </head>

        <body>

                <div class="place">
                        <span>位置：</span>
                        <ul class="placeul">
                                <li><a href="#">首页</a></li>
                                <li><a href="#">表单</a></li>
                        </ul>
                </div>

                <div class="formbody">

                        <div class="formtitle"><span>基本信息</span></div>
                        <form action="{:U('News/add_news_act')}" method="post">
                                <ul class="forminfo">
                                        <li>
                                                <label>文章标题</label>
                                                <input name="title" type="text" class="dfinput" required="required"/>
                                                <i>标题不能超过30个字符</i>
                                        </li>
                                        <li>
                                                <label>关键字</label>
                                                <input name="key_words" type="text" class="dfinput" />
                                                <i>多个关键字用,隔开</i>
                                        </li>

                                        <!--
                                        <li>
                                                <label>是否审核</label>
                                                <cite>
                                                        <input name="" type="radio" value="" checked="checked" />
                                                        是&nbsp;&nbsp;&nbsp;&nbsp;
                                                        <input name="" type="radio" value="" />否
                                                </cite>
                                        </li>
                                        -->
                                        <li>
                                                <label>添加时间</label>
                                                <!--<input name="" id="nowtime" type="text" class="dfinput" value="" />-->
                                                <input name="add_time" value="{$add_time}" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="dfinput" type="text" placeholder="YYYY-MM-DD hh:mm:ss"></input>
                                                <!--<label class="laydate-icon"></label>-->
                                        </li>
                                        <li>
                                                <label>文章内容</label>
                                                <!--<textarea name="" cols="" rows="" class="textinput"></textarea>-->
                                                <script id="editor" type="text/plain" style="width:1024px;height:300px;"></script>
                                        </li>
                                        <li>
                                                <label>&nbsp;</label>
                                                <input name="" type="submit" class="btn" value="确认保存"/>
                                        </li>
                                </ul>
                        </form>
                </div>
        </body>
</html>